package main

import (
	"fmt"
	"time"
)

var week time.Duration

func main() {
	now := time.Now()
	fmt.Println(now)
	fmt.Printf("%02d.%02d.%02d \n", now.Day(), now.Month(), now.Hour())
	fmt.Println()

	utc := time.Now().UTC()
	fmt.Println(utc)
	week = 60 * 60 * 24 * 7 * 1e9
	weekFromNow := utc.Add(week)
	fmt.Println(weekFromNow)

	fmt.Println(now.Format(time.RFC822))
	fmt.Println(now.Format(time.ANSIC))
	fmt.Println(now.Format("02 Jan 2006 15:04"))
	fmt.Println(now.Format("2006-01-02 15:04:05"))

}
